class @PopUpView extends CustomView
   
    initialize: ->
        @silent=true
        super
        $('#' + @popUpId + "-pop-up").remove()
        $('body').append("<div id='#{@popUpId}-pop-up' title='#{@title}'><div id='#{@popUpId}'></div></div>")
        $('#' + @popUpId + '-pop-up').dialog(
            title: @title
            resizable: false
            draggable: false
            width: @width
            height: @height
        )
        @setElement($("##{@popUpId}"))

    close: ->
        $('#' + @popUpId + "-pop-up").dialog('close')

    